package com.lh.serverforwebrtc.mapper;

import com.lh.serverforwebrtc.bean.SecurityCodeBean;

public interface SecurityCodeMapper {

    boolean insertCode(SecurityCodeBean codeBean);

    /**
     * 通过手机号码查询验证码
     * @param userPhone
     * @return
     */
    SecurityCodeBean queryCodeByPhone(Long userPhone);

    boolean deleteCodeByPhone(Long userPhone);
}
